package com.xueyi.system.BaseDestroyRecords.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.annotation.Excel;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 销毁记录 持久化对象
 *
 * @author xueyi
 */
@TableName(value = "base_destroy_records", excludeProperty = {"name", "sort"})
public class BaseDestroyRecordsPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 批次
     */
    @Excel(name = "批次")
    @TableField("ruin_code")
    private String ruinCode;

    /**
     * 销毁类型
     */
    @Excel(name = "销毁类型")
    @TableField("ruin_type")
    private String ruinType;


    /**
     * 投入品id
     */
    @Excel(name = "投入品id")
    @TableField("ruin_id")
    private String ruinId;

    /**
     * 投入品名称
     */
    @Excel(name = "投入品名称")
    @TableField("ruin_name")
    private String ruinName;

    /**
     * 投入品批次
     */
    @Excel(name = "投入品批次")
    @TableField("ruin_batch")
    private String ruinBatch;

    /**
     * 销毁原因
     */
    @Excel(name = "销毁原因")
    @TableField("ruin_cause")
    private String ruinCause;

    /**
     * 销毁处理办法
     */
    @Excel(name = "销毁处理办法")
    @TableField("ruin_rx")
    private String ruinRx;

    /**
     * 销毁数量
     */
    @Excel(name = "销毁数量")
    @TableField("ruin_num")
    private BigDecimal ruinNum;

    /**
     * 销毁单位
     */
    @Excel(name = "销毁单位")
    @TableField("ruin_unit")
    private String ruinUnit;

    /**
     * 销毁地点
     */
    @Excel(name = "销毁地点")
    @TableField("ruin_place")
    private String ruinPlace;

    /**
     * 销毁日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "销毁日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("ruin_date")
    private LocalDateTime ruinDate;

    /**
     * 销毁人
     */
    @Excel(name = "销毁人")
    @TableField("ruin_people")
    private String ruinPeople;

    /**
     * 记录人
     */
    @Excel(name = "记录人")
    @TableField("record_people")
    private String recordPeople;

    /**
     * 复核人
     */
    @Excel(name = "复核人")
    @TableField("check_people")
    private String checkPeople;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @TableField("status")
    private String status;


    public String getRuinId() {
        return ruinId;
    }

    public void setRuinId(String ruinId) {
        this.ruinId = ruinId;
    }

    public void setRuinCode(String ruinCode) {
        this.ruinCode = ruinCode;
    }

    public String getRuinCode() {
        return ruinCode;
    }

    public void setRuinType(String ruinType) {
        this.ruinType = ruinType;
    }

    public String getRuinType() {
        return ruinType;
    }

    public void setRuinName(String ruinName) {
        this.ruinName = ruinName;
    }

    public String getRuinName() {
        return ruinName;
    }

    public void setRuinBatch(String ruinBatch) {
        this.ruinBatch = ruinBatch;
    }

    public String getRuinBatch() {
        return ruinBatch;
    }

    public void setRuinCause(String ruinCause) {
        this.ruinCause = ruinCause;
    }

    public String getRuinCause() {
        return ruinCause;
    }

    public void setRuinRx(String ruinRx) {
        this.ruinRx = ruinRx;
    }

    public String getRuinRx() {
        return ruinRx;
    }

    public void setRuinNum(BigDecimal ruinNum) {
        this.ruinNum = ruinNum;
    }

    public BigDecimal getRuinNum() {
        return ruinNum;
    }

    public void setRuinUnit(String ruinUnit) {
        this.ruinUnit = ruinUnit;
    }

    public String getRuinUnit() {
        return ruinUnit;
    }

    public void setRuinPlace(String ruinPlace) {
        this.ruinPlace = ruinPlace;
    }

    public String getRuinPlace() {
        return ruinPlace;
    }

    public void setRuinDate(LocalDateTime ruinDate) {
        this.ruinDate = ruinDate;
    }

    public LocalDateTime getRuinDate() {
        return ruinDate;
    }

    public void setRuinPeople(String ruinPeople) {
        this.ruinPeople = ruinPeople;
    }

    public String getRuinPeople() {
        return ruinPeople;
    }

    public void setRecordPeople(String recordPeople) {
        this.recordPeople = recordPeople;
    }

    public String getRecordPeople() {
        return recordPeople;
    }

    public void setCheckPeople(String checkPeople) {
        this.checkPeople = checkPeople;
    }

    public String getCheckPeople() {
        return checkPeople;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getStatus() {
        return status;
    }

}
